<script>
	export default {
		
		onLaunch: function() {
			console.log('App Launch');
		},
		
		onShow: function() {
			console.log('App Show 111');
		},
		onHide: function() {
			console.log('App Hide');
		},
        mounted:function(options){
            console.log(options.query)
            let parentKey = options.query.parentKey || '';
        	uni.setStorageSync('parentKey', parentKey);
        },
	};
</script>

<style>
	/* 解决头条小程序组件内引入字体不生效的问题 */
	/* #ifdef MP-TOUTIAO */
	/* @font-face {
	font-family: uniicons;
	src: url('/static/uni.ttf');
} */
	/* #endif */
	a {
		text-decoration: none;
	}
	button::after {
		  border: none;
		}
	.bold{
		font-weight: bold;
	}

	.color1 {
		color: #666666;
	}

	.color2 {
		color: #EB5938;
	}

	.color3 {
		color: #FFBC00;
	}

	.color4 {
		color: #999999;
	}

	.oneline {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	.flex{
		display: flex;
	}
	.flex_between{
		justify-content: space-between;
	}
	.flex_around{
		justify-content: space-around;
	}
	.flex_align{
		align-items: center;
	}
	.flex_column{
		flex-direction: column;
	}
</style>
